FROM konajdk/konajdk:8

MAINTAINER leronx@qq.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
    && mkdir -p /app

WORKDIR /app

ADD target/app.jar ./

ENTRYPOINT ["java","-Dfile.encoding=utf-8","-Djava.security.egd=file:/dev/./urandom","-jar","-Xms256m","-Xmx256m","app.jar"]

EXPOSE 14000
